<%@ page contentType="text/html; charset=UTF-8" %>
<meta charset="UTF-8">
<link href="/static/jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="/static/jquery/jquery-1.11.1-min.js"></script>
<script type="text/javascript" src="/static/jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/jquery/jquery.form.js"></script>

<%--分页插件--%>
<link href="/static/jquery/bs_pagination/jquery.bs_pagination.min.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/static/jquery/bs_pagination/en.js"></script>
<script type="text/javascript" src="/static/jquery/bs_pagination/jquery.bs_pagination.min.js"></script>

<%--日期插件--%>
<link href="/static/jquery/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/static/jquery/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="/static/jquery/bootstrap-datetimepicker/locale/bootstrap-datetimepicker.zh-CN.js"></script>

<%--自动补全插件--%>
<script type="text/javascript" src="/static/jquery/bs_typeahead/bootstrap3-typeahead.min.js"></script>
<script>
    jQuery(function ($) {
        $("input[date]").datetimepicker({
            language: "zh-CN",
            format: "yyyy-mm-dd",//显示格式
            minView: "month", // 日期时间选择器所能够提供的最精确的时间选择视图。
            initialDate: new Date(),//初始化当前日期
            autoclose: true, //选中自动关闭
            pickerPosition: "bottom-right"
        }).attr("autocomplete", "off");

        $("input[datetime]").datetimepicker({
            language: "zh-CN",
            format: "yyyy-mm-dd hh:ii:ss",//显示格式
            minView: "hour", // 日期时间选择器所能够提供的最精确的时间选择视图。
            initialDate: new Date(),//初始化当前日期
            autoclose: true, //选中自动关闭
            pickerPosition: "bottom-right"
        }).attr("autocomplete", "off");
    })
</script>